package com.guofen.service.sjq;

import com.guofen.pojo.SjqWaterProductionFailure;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public interface SjqWaterProductionFailureService {
    boolean addForm(String equipment_name, String failure_reason, String maintenance_method,
                    String recovery_time, String examiner, String down_time,
                    String operate_person, String repair_person, String failure_description);

    SjqWaterProductionFailure findForm();

    public Map<String, Object> get(int pageSize, int currentPage);

    public Map<String, Object> getByTime(int pageSize, int currentPage, long startTime, long endTime);

    public int delete(int id);

    public int update(SjqWaterProductionFailure record);
}